package com.smart.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.smart.common.domain.BaseEntity;

/**
 * 
 * 版权所有：xxxxxxx
 * @Description: 用户
 * @Title: User.java 
 * @ClassName: User 
 * @author tangyan 
 * @date 2019年2月13日 下午4:31:26 
 * @version V1.0
 */
@Entity
@Table(name = "user")
public class User extends BaseEntity {
	
	/**
	 * 正常
	 */
	public final static String USER_STATUS_NORMAL = "normal";

	/**
	 * 审核中
	 */
	public final static String USER_STATUS_EV = "examineVerify";
	
	/**
	 * 冻结
	 */
	public final static String USER_STATUS_ABORTED ="aborted";
	
	/**
	 * 用户名
	 */
	@Column
	private String userName;
	
	
	/**
	 * 注册方式
	 */
	@Column
	private String registerWay;
	
	/**
	 * 注册时间
	 */
	@Column
	private String registerTime;
	
	/**
	 * 密码
	 */
	@Column
	private String password;
	
	/**
	 * 身份证
	 */
	@Column
	private String identityCard;
	
	/**
	 * 邮箱
	 */
	@Column
	private String email;

	/**
	 * 电话号码
	 */
	@Column
	private String phoneNumber;


	/**
	 * 00 ：正常   01：审核中    -1：冻结
	 */
	@Column
	private String status;


	public String getUserName() {
		return userName;
	}


	public void setUserName(String userName) {
		this.userName = userName;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public String getIdentityCard() {
		return identityCard;
	}


	public void setIdentityCard(String identityCard) {
		this.identityCard = identityCard;
	}


	public String getEmail() {
		return email;
	}


	public void setEmail(String email) {
		this.email = email;
	}


	public String getPhoneNumber() {
		return phoneNumber;
	}


	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}


	public String getStatus() {
		return status;
	}


	public void setStatus(String status) {
		this.status = status;
	}


	public String getRegisterWay() {
		return registerWay;
	}


	public void setRegisterWay(String registerWay) {
		this.registerWay = registerWay;
	}


	public String getRegisterTime() {
		return registerTime;
	}


	public void setRegisterTime(String registerTime) {
		this.registerTime = registerTime;
	}

	


}
